package com.frank.activedatabus.Core;

import ohos.aafwk.ability.Lifecycle;

/**
 * @author : frank
 * @date : 2021/3/12 10:46
 */
class CustomLifeCycle extends Lifecycle {


    public void register() {
        dispatchLifecycle(Event.ON_ACTIVE, null);
    }

    public void unregister() {
        dispatchLifecycle(Event.ON_STOP, null);
    }

}
